package com.wonders.hisdoctor.station.project.base.service.impl;

import com.wonders.hisdoctor.station.project.base.domain.DrugStorageDept;
import com.wonders.hisdoctor.station.project.base.mapper.DrugStorageDeptMapper;
import com.wonders.hisdoctor.station.project.base.service.IDrugStorageDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * Description:
 *
 * @author tongaijie
 * <p>
 * Create: 2021-02-02 10:59
 */
@Service
public class DrugStorageDeptServiceImpl implements IDrugStorageDeptService {

    @Autowired
    private DrugStorageDeptMapper drugStorageDeptMapper;

    @Override
    public List<DrugStorageDept> getDrugStorageDeptsByHospitalCode(String hospitalCode) {
        return drugStorageDeptMapper.getDrugStorageDeptsByHospitalCode(hospitalCode);
    }
}
